﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ApplicationOrderDetails.aspx.cs" Inherits="WorkShop.ApplicationOrderDetails" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>i-MegaShopping</title>
    <style type="text/css">
        .auto-style1 {
            width: 165px;
        }
        .auto-style4 {
            width: 165px;
            height: 22px;
        }
        .auto-style5 {
            height: 22px;
        }
        #TextArea1 {
            width: 202px;
        }
        .auto-style6 {
            width: 149px;
            height: 22px;
        }
        .auto-style7 {
            width: 149px;
        }
        #txtAddress {
        }
        .auto-style8 {
            width: 149px;
            height: 99px;
        }
        .auto-style9 {
            width: 165px;
            height: 99px;
        }
        .auto-style10 {
            height: 99px;
        }
    </style>
</head>
<body>
    <form id="frmOrderDetals" runat="server">
    <div style="width: 687px; height: auto; border:2px solid #e22fe4; margin: 0 auto;">
        <h2 style="color:#ba7a2c; text-align:center">Order Details - Application</h2>
        <table style="width:100%;">
            <tr>
                <td class="auto-style6"></td>
                <td class="auto-style4">OrderID:</td>
                <td class="auto-style5">
                    <asp:TextBox ID="txtOrderID" runat="server" Width="199px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valOrderID" runat="server" ControlToValidate="txtOrderID" ErrorMessage="Please enter orderID" ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">Enter Full Name :</td>
                <td>
                    <asp:TextBox ID="txtFullName" runat="server" Width="198px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valFullName" runat="server" ErrorMessage="Please enter your name" ControlToValidate="txtFullName" ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">Address :</td>
                <td>
                    <asp:TextBox ID="txtAddress" runat="server" Width="200px" TextMode="MultiLine"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valAddress" runat="server" ControlToValidate="txtAddress" ErrorMessage="Please enter your address" ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">City :</td>
                <td>
                    <asp:TextBox ID="txtCity" runat="server" Width="196px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valCity" runat="server" ErrorMessage="Please enter your city name" ControlToValidate="txtCity" ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">State/Country :</td>
                <td>
                    <asp:TextBox ID="txtState" runat="server" Width="196px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ErrorMessage="Please enter your state/coutry name" ControlToValidate="txtState" ForeColor="Red">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">Phone Number :</td>
                <td>
                    <asp:TextBox ID="txtPhone" runat="server" Width="197px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valPhone" runat="server" ErrorMessage="Please enter your phone number" ControlToValidate="txtPhone" ForeColor="Red">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="valPhoneFormat" runat="server" ErrorMessage="Phone number must be a numberic and length must be 10-11 numbers" ControlToValidate="txtPhone" Display="Dynamic" ForeColor="Red" ValidationExpression="^[0-9]{10,11}$">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">Email :</td>
                <td>
                    <asp:TextBox ID="txtEmail" runat="server" Width="195px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="valEmail" runat="server" ErrorMessage="Please enter your email" ControlToValidate="txtEmail" ForeColor="Red">*</asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="valEmailFormat" runat="server" ErrorMessage="E-mail is  correct." ControlToValidate="txtEmail" Display="Dynamic" ForeColor="Red" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">*</asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">Paymode: </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">
                    <asp:RadioButtonList ID="RadioButtonList1" runat="server">
                        <asp:ListItem Value="0" Selected="True">Check</asp:ListItem>
                        <asp:ListItem>Credit Card</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <td>
                    <asp:RequiredFieldValidator ID="valPayMode" runat="server" ControlToValidate="RadioButtonList1" ErrorMessage="Please choice one paymode" ForeColor="Red" InitialValue="0">*</asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="auto-style7">&nbsp;</td>
                <td class="auto-style1">
                    <asp:Button ID="btnNext" runat="server" Text="Next" OnClick="btnNext_Click" />
                    <asp:Button ID="btnReset" runat="server" Text="Reset" CausesValidation="False" OnClick="btnReset_Click" />
                </td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td class="auto-style8"></td>
                <td class="auto-style9">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ForeColor="Red" HeaderText="List Eroor" />
                </td>
                <td class="auto-style10"></td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
